A
hatch object displays a standard pattern of lines and dots used
to highlight an area, or to identify a material, such as steel or
concrete. It can also display a solid fill or a gradient fill.
Create hatches and fills with the HATCH command. The
following illustration includes a solid fill, a gradient fill, and
a hatch pattern. The hatch pattern has a hatch background color
assigned to it.
Hatches
and fills do not have to be bounded. In the following illustration, the
concrete hatches are bounded, while the earth hatches
are unbounded.
By default, bounded hatches are associative,
which means that the hatch object is associated with the hatch boundary
objects, and changes to the boundary objects are automatically applied
to the hatch.
To maintain associativity,
the boundary objects must continue to completely enclose the hatch.
The alignment and orientation
of a hatch pattern is determined by the current location and orientation
of the user coordinate system, in addition to controls in the user
interface.
Moving or rotating the
UCS is an alternate method for controlling hatch patterns.
NoteBy default, a preview
of the hatch displays as you move the cursor over enclosed areas.
To improve the response time in large drawings, turn off the hatch
preview feature with the HPQUICKPREVIEW system variable.
Alternatively, solid-filled areas can be created
using
To drag hatch patterns
into your drawing
NoteThis procedure describes
how to use DesignCenter to drag hatch patterns into your drawing.
You can also drag hatch patterns from a tool palette.
- On the DesignCenter toolbar, click Search.
- In the Search dialog box, do the following:
- From the Look For drop-down list, select
Hatch Pattern Files.
- From the In drop-down list, select the
drive where the program is installed.
- Confirm that Search Subfolders is selected.
- On the Hatch Pattern Files tab, in Search
for the Name, enter * (asterisk).
- Click Search Now.
The default hatch pattern
file is acad.pat or acadiso.pat. The search results
may display the same file in different locations.
NoteFor convenient access,
you can add the PAT file to Favorites by selecting the file and
clicking the Favorites button. A shortcut to the PAT file is displayed
in the Favorites folder in DesignCenter
folders list.
- In the search results, double-click the
filename to load the hatch patterns into the content area of DesignCenter.
- (Optional) Right-click a pattern to display
a shortcut menu with the following options:
- HATCH. Opens
the Hatch and Gradient dialog box.
- Copy. Stores
the hatch pattern on the Clipboard.
- Create Tool Palette. Creates
a new tool palette that contains the selected pattern.
- From the content area of DesignCenter,
drag a hatch pattern into an enclosed area in your drawing or onto
a tool palette.
NoteIf the hatch pattern
scale is too large or small, an error message is displayed. You
can adjust the scale for any hatch pattern by selecting it to display
the Hatch Editor tab. If the ribbon is closed, use the Properties
palette or
HATCHEDIT.
To hatch or fill areas
(ribbon turned on)
- On the Properties panel, select one of
the options from the Hatch Type drop-down list.
- On the Pattern panel, click a hatch pattern
or fill.
- Specify a point inside each area to be
hatched.
- On the ribbon, make any adjustments as
needed.
On the Properties panel,
you can change the hatch type and colors or modify the transparency
level, angle, or scale for the hatch.
- (Optional) Expand the Options panel,
and select one of the draw order options from the bottom drop-down
list.
You can change the draw
order of the hatch so that the hatch is displayed either behind
or in front of the hatch boundary, or behind or in front of all
other objects.
- Press Enter, or click Close on the ribbon
to apply the hatch and exit the command.
To hatch or fill areas
(ribbon turned off)
- In the Hatch and Gradient dialog box,
under Boundaries, click Add: Pick Points.
- Specify a point inside each area that
you want to hatch, and press Enter.
- In the Hatch and Gradient dialog box,
select a pattern or Solid from the Pattern list.
To see how the hatch
pattern will look, click the Preview button. Press Esc when you
finish previewing to return to the dialog box.
- In the Hatch and Gradient dialog box,
make adjustments, if necessary.
To access additional
options, click the More Options button at the bottom-right of the
dialog box.
- (Optional) From the Draw Order drop-down
list, choose one of the options.
You can change the draw
order of the hatch so that the hatch is displayed either behind
or in front of the hatch boundary, or behind or in front of all
other objects.
- Click OK to apply the hatch.
To hatch selected objects
(ribbon turned on)
- On the Boundaries panel, click Select.
- Select the objects that you want to hatch.
- Press Enter, or click Close on the ribbon
to apply the hatch and exit the command.
To hatch selected objects
(ribbon turned off)
- In the Hatch and Gradient dialog box,
under Boundaries, click Add: Select Objects.
- Select the objects that you want to hatch
and press Enter.
- Click OK to apply the hatch.
CommandsADCENTER
Manages and inserts
content such as blocks, xrefs, and hatch patterns.
GRADIENT
Fills an enclosed area
or selected objects with a gradient fill.
HATCH
Fills an enclosed area
or selected objects with a hatch pattern, solid fill, or gradient
fill.
HATCHEDIT
Modifies an existing
hatch or fill.
HATCHTOBACK
Sets the draw order
for all hatches in the drawing to be behind all other objects.
MATCHPROP
Applies the properties
of a selected object to other objects.
PROPERTIES
Controls properties
of existing objects.
UCS
Manages user coordinate
systems.
System VariablesGFANG
Specifies the angle
of a gradient fill.
GFCLR1
Specifies the color
for a one-color gradient fill or the first color for a two-color
gradient fill.
GFCLR2
Specifies the second
color for a two-color gradient fill.
GFCLRLUM
Controls the tint or
shade level in a one-color gradient fill.
GFCLRSTATE
Specifies whether a
gradient fill uses one color or two colors.
GFNAME
Specifies the pattern
of a gradient fill.
GFSHIFT
Specifies whether the
pattern in a gradient fill is centered or is shifted up and to the
left.
HPANG
Sets the angle for new
hatch patterns.
HPANNOTATIVE
Controls whether a new
hatch pattern is annotative.
HPASSOC
Controls whether hatches
and fills are associative.
HPBACKGROUNDCOLOR
Controls the background
color for hatch patterns.
HPBOUND
Controls the object
type created by HATCH and BOUNDARY.
HPBOUNDRETAIN
Controls whether boundary
objects are created for new hatches and fills.
HPCOLOR
Sets a default color
for new hatches.
HPDLGMODE
Controls the display
of the Hatch and Gradient dialog box and the Hatch Edit dialog box.
HPDOUBLE
Specifies hatch pattern
doubling for user-defined patterns.
HPDRAWORDER
Controls the draw order
of hatches and fills.
HPGAPTOL
Treats a set of objects
that almost enclose an area as a closed hatch boundary.
HPINHERIT
Controls whether to
inherit the hatch origin when using the Inherit Properties option
in HATCH and HATCHEDIT.
HPISLANDDETECTION
Controls how islands
within the hatch boundary are treated.
HPISLANDDETECTIONMODE
Controls whether internal
closed boundaries, called islands, are detected.
HPLAYER
Specifies a default
layer for new hatches and fills.
HPMAXLINES
Sets the maximum number
of hatch lines that are generated in a hatch operation.
HPNAME
Sets the default hatch
pattern name.
HPOBJWARNING
Sets the number of hatch
boundary objects that can be selected before displaying a warning
message.
HPORIGIN
Sets the hatch origin
point for new hatch patterns relative to the current user coordinate
system.
HPORIGINMODE
Controls how the default
hatch origin point is determined.
HPQUICKPREVIEW
Controls whether to
display a preview when specifying internal points for a hatch.
HPSCALE
Sets the hatch pattern
scale factor.
HPSEPARATE
Controls whether a single
hatch object or separate hatch objects are created when operating
on several closed boundaries.
HPSPACE
Sets the hatch pattern
line spacing for user-defined patterns.
HPTRANSPARENCY
Sets the default transparency
for new hatches and fills.
MIRRHATCH
Controls how MIRROR
reflects hatch patterns.
PICKSTYLE
Controls the use of
group selection and associative hatch selection.